Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Danilova Alena codewars #11

Open
wants to merge 7 commits into
base: Danilova_Alena_Aleksandrovna
Choose a base branch
from

Conversation

AlyonaUi
Copy link

@AlyonaUi AlyonaUi commented Oct 3, 2023

No description provided.

}

set age(n: number) {
this._age = n >= 1 && n < 12 ? n : this._age ?? 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добавляйте выбрасывание exception'a

breed: string;
color: string;

constructor(rabAge: number, rabBreed: string, rabColor: string, public rabName?: string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

давайте двигаться дальше - делать задачи с родительским классом

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants